Feature: Create Post
Scenarios
|
Chart |
Status Progress |
||||
|---|---|---|---|---|---|
|
4
|
|
||||
| Total duration: | |||||
| 1m 32.491s |
Scenario: As an administrator when I create a draft post it should not be visible from home page
Given
I log in as administrator
0m 5.217s
When
I click on element having css selector "a[href="#/posts/"]"
0m 2.343s
And
I click on element having css selector "a[href="#/editor/post/"]"
0m 2.322s
And
I enter "" into input field having css selector "div.gh-koenig-editor-pane > textarea"
0m 2.078s
And
I enter "" into input field having css selector "div.gh-koenig-editor-pane div[contenteditable=true]"
0m 2.122s
And
I click on element having css selector "header a[href^="#/posts/"]"
0m 2.257s
And
I click on element having css selector "div.gh-contentfilter-type"
0m 2.089s
And
I click on element having css selector "ul > li[data-option-index="1"]"
0m 2.143s
And
I navigate to home page
0m 2.179s
Then
I should not see text "(Untitled)"
0m 0.012s
And
I should not see text ""
0m 0.013s
+ Show Error
ERROR: Assertion failed (RuntimeError) ./features/web/step_definitions/web_steps.rb:53:in `/^I should not see text "(.*?)"$/' ././features/create-post/create-post-scenario4.feature:19:in `And I should not see text ""' ././features/create-post/create-post-scenario4.feature:15:in `And I should not see text'
Screenshots
Given I log in as administrator
When I click on element having css selector "a[href="#/posts/"]"
And I click on element having css selector "a[href="#/editor/post/"]"
And I enter "" into input field having css selector "div.gh-koenig-editor-pane > textarea"
And I enter "" into input field having css selector "div.gh-koenig-editor-pane div[contenteditable=true]"
And I click on element having css selector "header a[href^="#/posts/"]"
And I click on element having css selector "div.gh-contentfilter-type"
And I click on element having css selector "ul > li[data-option-index="1"]"
And I navigate to home page
Then I should not see text "(Untitled)"
And I should not see text ""
NO IMAGE AVAILABLE
Scenario: As an administrator when I create a draft post it should not be visible from home page
Given
I log in as administrator
0m 5.164s
When
I click on element having css selector "a[href="#/posts/"]"
0m 2.353s
And
I click on element having css selector "a[href="#/editor/post/"]"
0m 2.243s
And
I enter "Test Post Kraken Draft (No Content)" into input field having css selector "div.gh-koenig-editor-pane > textarea"
0m 2.210s
And
I enter "" into input field having css selector "div.gh-koenig-editor-pane div[contenteditable=true]"
0m 2.101s
And
I click on element having css selector "header a[href^="#/posts/"]"
0m 2.258s
And
I click on element having css selector "div.gh-contentfilter-type"
0m 2.090s
And
I click on element having css selector "ul > li[data-option-index="1"]"
0m 2.145s
And
I navigate to home page
0m 2.211s
Then
I should not see text "Test Post Kraken Draft (No Content)"
0m 0.012s
And
I should not see text ""
0m 0.012s
+ Show Error
ERROR: Assertion failed (RuntimeError) ./features/web/step_definitions/web_steps.rb:53:in `/^I should not see text "(.*?)"$/' ././features/create-post/create-post-scenario4.feature:20:in `And I should not see text ""' ././features/create-post/create-post-scenario4.feature:15:in `And I should not see text'
Screenshots
Given I log in as administrator
When I click on element having css selector "a[href="#/posts/"]"
And I click on element having css selector "a[href="#/editor/post/"]"
And I enter "Test Post Kraken Draft (No Content)" into input field having css selector "div.gh-koenig-editor-pane > textarea"
And I enter "" into input field having css selector "div.gh-koenig-editor-pane div[contenteditable=true]"
And I click on element having css selector "header a[href^="#/posts/"]"
And I click on element having css selector "div.gh-contentfilter-type"
And I click on element having css selector "ul > li[data-option-index="1"]"
And I navigate to home page
Then I should not see text "Test Post Kraken Draft (No Content)"
And I should not see text ""
NO IMAGE AVAILABLE
Scenario: As an administrator when I create a draft post it should not be visible from home page
Given
I log in as administrator
0m 5.160s
When
I click on element having css selector "a[href="#/posts/"]"
0m 2.404s
And
I click on element having css selector "a[href="#/editor/post/"]"
0m 2.300s
And
I enter "Test Post Kraken Draft" into input field having css selector "div.gh-koenig-editor-pane > textarea"
0m 2.178s
And
I enter "Hello World Kraken Draft" into input field having css selector "div.gh-koenig-editor-pane div[contenteditable=true]"
0m 2.277s
And
I click on element having css selector "header a[href^="#/posts/"]"
0m 2.096s
And
I click on element having css selector "div.gh-contentfilter-type"
0m 2.090s
And
I click on element having css selector "ul > li[data-option-index="1"]"
0m 2.143s
And
I navigate to home page
0m 2.212s
Then
I should not see text "Test Post Kraken Draft"
0m 0.012s
And
I should not see text "Hello World Kraken Draft"
0m 0.013s
Screenshots
Given I log in as administrator
When I click on element having css selector "a[href="#/posts/"]"
And I click on element having css selector "a[href="#/editor/post/"]"
And I enter "Test Post Kraken Draft" into input field having css selector "div.gh-koenig-editor-pane > textarea"
And I enter "Hello World Kraken Draft" into input field having css selector "div.gh-koenig-editor-pane div[contenteditable=true]"
And I click on element having css selector "header a[href^="#/posts/"]"
And I click on element having css selector "div.gh-contentfilter-type"
And I click on element having css selector "ul > li[data-option-index="1"]"
And I navigate to home page
Then I should not see text "Test Post Kraken Draft"
And I should not see text "Hello World Kraken Draft"
Scenario: As an administrator when I create a draft post it should not be visible from home page
Given
I log in as administrator
0m 5.250s
When
I click on element having css selector "a[href="#/posts/"]"
0m 2.386s
And
I click on element having css selector "a[href="#/editor/post/"]"
0m 2.266s
And
I enter "Test Post Kraken Draft Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long" into input field having css selector "div.gh-koenig-editor-pane > textarea"
0m 2.619s
And
I enter "Hello World Kraken Draft Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long" into input field having css selector "div.gh-koenig-editor-pane div[contenteditable=true]"
0m 3.014s
And
I click on element having css selector "header a[href^="#/posts/"]"
0m 2.085s
And
I click on element having css selector "div.gh-contentfilter-type"
0m 2.090s
And
I click on element having css selector "ul > li[data-option-index="1"]"
0m 2.100s
And
I navigate to home page
0m 2.198s
Then
I should not see text "Test Post Kraken Draft Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long"
0m 0.012s
And
I should not see text "Hello World Kraken Draft Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long"
0m 0.012s
Screenshots
Given I log in as administrator
When I click on element having css selector "a[href="#/posts/"]"
And I click on element having css selector "a[href="#/editor/post/"]"
And I enter "Test Post Kraken Draft Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long" into input field having css selector "div.gh-koenig-editor-pane > textarea"
And I enter "Hello World Kraken Draft Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long" into input field having css selector "div.gh-koenig-editor-pane div[contenteditable=true]"
And I click on element having css selector "header a[href^="#/posts/"]"
And I click on element having css selector "div.gh-contentfilter-type"
And I click on element having css selector "ul > li[data-option-index="1"]"
And I navigate to home page
Then I should not see text "Test Post Kraken Draft Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long"
And I should not see text "Hello World Kraken Draft Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long"